str1 = 'abcdefg'
list1 = [10, 20, 30, 40, 50]
t1 = (10, 20, 30, 40, 50)
s1 = {10, 20, 30, 40, 50}
dict1 = {'name': 'Tom', 'age': 20}

# del 目标  或  del(目标)
del str1
# print(str1) # 报错

# del(list1)
# print(list1) # 报错

del(list1[0])
print(list1) # [20, 30, 40, 50]

del s1
# print(s1) # 报错

# del dict1
# print(dict1) # 报错

del dict1['name']
print(dict1) # {'age': 20}